package com.hades.xq.factory.simple.car;

/**
 * 奔驰汽车
 */
public class BenzCar implements Car {

    public BenzCar(){
        System.out.print("奔驰汽车构造方法初始化。");
    }

    @Override
    public String carName() {
        return "奔驰汽车";
    }

    @Override
    public int color() {
        return 0x123456;
    }

    @Override
    public void driver() {
        System.out.print("驾驶奔驰汽车。。。");
    }
}
